﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 8/25/2009
 * Time: 5:29 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace Miming.Model
{
	/// <summary>
	/// Description of Invoice.
	/// </summary>
	public class Invoice
	{
		int id;
		DateTime date = DateTime.Now;
		string invoiceNo;
		string billTo;
		DateTime dueDate = DateTime.Now;
		
		public virtual DateTime DueDate {
			get { return dueDate; }
			set { dueDate = value; }
		}
		CustomerMessage customerMessage;
		
		public virtual CustomerMessage CustomerMessage {
			get { return customerMessage; }
			set { customerMessage = value; }
		}
		Item tax;
		
		public virtual Item Tax {
			get { return tax; }
			set { tax = value; }
		}
		SalesTaxCode customerTaxCode;
		
		public virtual SalesTaxCode CustomerTaxCode {
			get { return customerTaxCode; }
			set { customerTaxCode = value; }
		}
		string memo;
		
		public virtual string Memo {
			get { return memo; }
			set { memo = value; }
		}
		
		public virtual string BillTo {
			get { return billTo; }
			set { billTo = value; }
		}
		string shipTo;
		
		public virtual string ShipTo {
			get { return shipTo; }
			set { shipTo = value; }
		}
		Terms terms;
		
		public virtual Terms Terms {
			get { return terms; }
			set { terms = value; }
		}
		
		public virtual string InvoiceNo {
			get { return invoiceNo; }
			set { invoiceNo = value; }
		}
		
		public virtual DateTime Date {
			get { return date; }
			set { date = value; }
		}
		
		public virtual int Id {
			get { return id; }
			set { id = value; }
		}
		Customer customer;
		
		public virtual Customer Customer {
			get { return customer; }
			set { customer = value; }
		}
		
		public Invoice()
		{
		}
	}
}
